<?php 

require_once('header.php');

if(isset($_GET['page']) && file_exists('pages/' . $_GET['page'])){
	require_once('pages/' . $_GET['page']);
}else{
	require_once('pages/default.php');
}

require_once('footer.php');